/*
 * @Author: 李一番 
 * @Date: 2023-01-08 15:46:42 
 * @Last Modified by: 李一番
 * @Last Modified time: 2023-01-08 16:02:13
 */
import type { App } from 'vue'
const modules = import.meta.glob('./modules/*.ts')

export function setupPlugins(app: App<Element>) {
  for (const path in modules) {
    modules[path]().then((mod: any) => {
      mod.default(app)
    })
  }
}